import useRequest from "@/api/useRequest";
export class chatConversationApi {

    static listConversation(): Promise<any> {
        return useRequest({
            url: "/chat_room/conversation/list",
            method: "post"
        })
    }

  static deleteChatRoom(data:any): Promise<any> {
    return useRequest({
      url: "/chat_room/delete",
      method: "post",
      data
    })
  }

  static updateChatRoomTitle(data:any): Promise<any> {
    return useRequest({
      url: "/chat_room/updateTitle",
      method: "post",
      data
    })
  }


}
